nums = [10,6,11]
new_nums = None
if nums[0] > nums[1]:
    if nums[1] > nums[2]:
        new_nums = [2,1,0]
    else:
        if nums[0] < nums[2]:
            new_nums = 1,0,2
        else:
            new_nums = [1,2,0]
else:
    if nums[1] < nums[2]:
        new_nums = [0, 1, 2]
    else:
        if nums[0] > nums[2]:
            new_nums = [2, 0, 1]
        else:
            new_nums = [0, 2, 1]
print(list(nums[k] for k in new_nums))